package database;

import database.Bill;
import java.util.ArrayList;

/**
 *
 * @author Jack
 */
public class User {
    private final int id;
    private final String name;
    private final String adress;
    private final String phone;
    private final String email;
    private final String web;
    private final String username;
    private final String pass;
    private ArrayList<Bill> bill;
    
    public User(int id,String name,String adress,String phone,String email,String web,String username,String pass){
        this.id=id;
        this.name=name;
        this.adress=adress;
        this.phone=phone;
        this.email=email;
        this.web=web;
        this.username=username;
        this.pass=pass;
        bill=null;
    }
    public void setBills(ArrayList<Bill> bill){
        this.bill=bill;
    }
    public ArrayList<Bill> getBills(){
        return bill;
    }
    public int getId(){
        return id;
    }
    public String getName(){
        return name;
    }
    public String getAdress(){
        return adress;
    }
    public String getPhone(){
        return phone;
    }
    public String getEmail(){
        return email;
    }
    public String getWeb(){
        return web;
    }
    public String getUsername(){
        return username;
    }
    public String getPassword(){
        return pass;
    }
}
